package com.lzj.demo.design.adapter.old;

import cn.hutool.json.JSONUtil;
import com.lzj.demo.design.adapter.dto.OrderMq;

public class OrderMqService {
    public void onMessage(String message){
        OrderMq order = JSONUtil.toBean(message, OrderMq.class);
        order.getUid();
        order.getOrderId();
        order.getCreateOrderTime();
        //TODO do business...
    }
}
